FROM java:8
MAINTAINER "hanjianmin"<han_jianmin@sina.com>
VOLUME /tmp
ADD jmhan-cloud-eureka-server-0.0.1-SNAPSHOT.jar app.jar
RUN bash -c 'touch /app.jar'
EXPOSE 8761 8762
ENTRYPOINT ["java","-jar","/app.jar"]